package com.gzhryc.net_marketing.cloud.micro.api.dto.v1;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.List;

public class LogisticsInfoResponse extends SecurityResponse<LogisticsInfoResponse.Body> {

	private static final long serialVersionUID = 1L;

	public LogisticsInfoResponse() {
		this.body = new Body();
	}

	public LogisticsInfoResponse(Integer code) {
		this.body = new Body();
		this.code = code;
	}

	public LogisticsInfoResponse(Integer code, String msg) {
		this.body = new Body();
		this.code = code;
		this.msg = msg;
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		private Integer state;
		private String stateName;
		private String logisticsTradeNo;
		private List<TimeItem> timeItems;

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}

		public String getStateName() {
			return stateName;
		}

		public void setStateName(String stateName) {
			this.stateName = stateName;
		}

		public String getLogisticsTradeNo() {
			return logisticsTradeNo;
		}

		public void setLogisticsTradeNo(String logisticsTradeNo) {
			this.logisticsTradeNo = logisticsTradeNo;
		}

		public List<TimeItem> getTimeItems() {
			return timeItems;
		}

		public void setTimeItems(List<TimeItem> timeItems) {
			this.timeItems = timeItems;
		}
	}

	public static class TimeItem {

		private String time;
		private String content;

		public String getTime() {
			return time;
		}

		public void setTime(String time) {
			this.time = time;
		}

		public String getContent() {
			return content;
		}

		public void setContent(String content) {
			this.content = content;
		}
	}
}
